import React, { Component } from 'react'

export default class Jack extends Component {
 say=()=>{
   this.props.updateMsg('hi Rose you jump i look')
 }
  render() {
    return (
      <div>
      Jack组件<button onClick = {this.say}> 对Rose说话</button>
      </div>
    )
  }
}
